package com.endpoint.member.service;

import com.endpoint.common.utils.ResultBean;
import com.endpoint.member.entity.MemberBookshelf;
import com.baomidou.mybatisplus.extension.service.IService;
import com.endpoint.member.to.MemberBookshelfDto;
import com.endpoint.member.vo.MemberBookshelfVo;

import java.util.List;

/**
 * <p>
 * 用户书架表 服务类
 * </p>
 *
 * @author Jack_Li
 * @since 2024-07-03
 */
public interface MemberBookshelfService extends IService<MemberBookshelf> {

    public ResultBean isAddToBookshelf(Long bookId, Long useId);

    public ResultBean addToBookshelf(MemberBookshelfVo memberBookshelfVo);

    public ResultBean<List<MemberBookshelfDto>> getBookShelfList(Long memberId);

}
